From 24e832187f739ed10035abfda83773568878a6d1 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 8 Dec 2010 17:16:02 +0100 Subject: [PATCH] GtkCellRendererPixbuf: Use gtk_widget_render_icon_pixbuf() Instead of gtk_widget_render_icon() which is now deprecated. --- gtk/gtkcellrendererpixbuf.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c index 729d08a89d..8a191d981a 100644 --- a/gtk/gtkcellrendererpixbuf.c +++ b/gtk/gtkcellrendererpixbuf.c @@ -481,10 +481,9 @@ gtk_cell_renderer_pixbuf_create_stock_pixbuf (GtkCellRendererPixbuf *cellpixbuf, if (priv->pixbuf) g_object_unref (priv->pixbuf); - priv->pixbuf = gtk_widget_render_icon (widget, - priv->stock_id, - priv->stock_size, - priv->stock_detail); + priv->pixbuf = gtk_widget_render_icon_pixbuf (widget, + priv->stock_id, + priv->stock_size); g_object_notify (G_OBJECT (cellpixbuf), "pixbuf"); } -- 2.30.2